// ignore_for_file: constant_identifier_names

class GlobalVariable {
  static const String BASE_URL = 'https://live-api.itheima.net/';
  static const int NEW_WORK_TIME_OUT = 10; // flutter中dio超时时间是s为单位
  static const int SUCCESS_CODE = 10000;
  static const String TOKEN_KEY = "flutter_enjoy_plus";
  static const String REFRESH_TOKEN_KEY =
      "flutter_enjoy_plus_refresh"; // 存储key的常量
}

class HTTP_PATH {
  static const String ANNOUNCE_LIST = 'announcement';
  static const String SEND_CODE = "/code"; // 发送验证码
  static const String LOGIN = "/login"; // 登录地址
  static const String USER_INFO = "/userInfo"; // 用户信息
  static const String UPLOAD = '/upload'; // 上传地址
  static const String HOUSE_LIST = '/room'; // 房屋列表
}
